package com.sky.constant;

public class ArgumentEnum {
//    X_MESSAGE_TTL("x-message-ttl", "发送到队列的消息在丢弃之前可以存活多长时间（毫秒）"),
//    X_EXPIRES("x-expires", "队列在被自动删除（毫秒）之前可以使用多长时间"),
//    X_MAX_LENGTH("x-max-length", "队列在开始从头部删除之前可以包含多少就绪消息"),
//    X_MAX_LENGTH_BYTES("x-max-length-bytes", "队列在开始从头部删除之前可以包含的就绪消息的总体大小"),
//    X_DEAD_LETTER_EXCHANGE("x-dead-letter-exchange", "设置队列溢出行为,消息被拒绝或过期，将重新发布这些名称（死信队列）"),
//    X_DEAD_LETTER_ROUTING_KEY("x-dead-letter-routing-key", "（死信队列）-key"),
//    X_MAX_PRIORITY("x-max-priority", "队列支持的最大优先级数;如果未设置，队列将不支持消息优先级,数字越大越优先"),
//    X_QUEUE_MODE("x-queue-mode", "default[默认：内存] 和 lazy[存硬盘] 将队列设置为延迟模式，在磁盘上保留尽可能多的消息以减少内存使用;如果未设置，队列将保留内存缓存以尽快传递消息"),
//    X_QUEUE_MASTER_LOCATOR("x-queue-master-locator", "将队列设置为主位置模式，确定在节点集群上声明时队列主机所在的规则");

    public static final String X_MESSAGE_TTL_CONSTANT = "x-message-ttl";
    public static final String X_EXPIRES_CONSTANT = "x-expires";
    public static final String X_MAX_LENGTH_CONSTANT = "x-max-length";
    public static final String X_MAX_LENGTH_BYTES_CONSTANT = "x-max-length-bytes";
    public static final String X_DEAD_LETTER_EXCHANGE_CONSTANT = "x-dead-letter-exchange";
    public static final String X_DEAD_LETTER_ROUTING_KEY_CONSTANT = "x-dead-letter-routing-key";
    public static final String X_MAX_PRIORITY_CONSTANT = "x-max-priority";
    public static final String X_QUEUE_MODE_CONSTANT = "x-queue-mode";
    public static final String X_QUEUE_MASTER_LOCATOR_CONSTANT = "x-queue-master-locator";
    public String name;
    public String mess;

    private ArgumentEnum(final String name, final String mess) {
        this.name = name;
        this.mess = mess;
    }



}
